#ifndef STATISTICSWIDGET_H
#define STATISTICSWIDGET_H

#include <QWidget>
#include <QMessageBox>
#include <QImage>
namespace Ui {
class StatisticsWidget;
}

class StatisticsWidget : public QWidget
{
    Q_OBJECT

public:
    explicit StatisticsWidget(QWidget *parent = nullptr);
    ~StatisticsWidget();
signals:
    void sendDisWidget(QString );
protected:
    //事件
    virtual void paintEvent(QPaintEvent *event);
    virtual void showEvent(QShowEvent *event);
    void updateDisplay();
private slots:
    void onHeaderClicked(int,int);

    void on_pushButton_1_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_4_clicked();

private:
    Ui::StatisticsWidget *ui;
    int selectrow;
    QString exepath;
};

#endif // STATISTICSWIDGET_H
